.auth {
  width: 100%;
  min-height: 100vh;
  background-color: #f5f5f5;
  padding: 0 10px;
  display: flex;
  flex-direction: column;
}

.auth-header {
  width: 100%;
  height: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 12px;
}

.auth-header-left {
  width: 30px;
  height: 30px;
}

.auth-header-center {
  flex: 1;
  text-align: center;
  padding: 4px 12px;
  height: 36px;
  align-items: center;
}

.auth-header-right {
  width: 30px;
  height: 30px;
  margin: 0 8px;
  line-height: 30px;
  font-size: 14px;
}

.auth-main {
  width: 100%;
  flex: 1;
  padding-bottom: 20px;
}

.auth-main-item {
  background: white;
  margin: 8px 0;
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border: 1px solid #f0f0f0;
}

.user-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: normal;
}

.user-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 32px;
}

.user-field label {
  font-weight: 500;
  color: #333;
  min-width: 80px;
  font-size: 14px;
}

.field-content {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  justify-content: flex-end;
}

.field-text {
  font-family: 'Courier New', monospace;
  font-size: 14px;
  color: #666;
  background: #f8f8f8;
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid #e0e0e0;
  min-width: 120px;
  text-align: center;
}

.visibility-toggle {
  width: 30px;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: background-color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
}

.visibility-toggle:hover {
  background-color: #f0f0f0;
}

.admin-field .field-content {
  justify-content: flex-end;
}

/* 确保Switch组件样式正常 */
.admin-field .adm-switch {
  transform: scale(0.9);
}

/* Dialog和Toast样式已在全局App.css中处理 */

/* 保存按钮样式 */
.save-button {
  background-color: #1890ff;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 6px 12px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.save-button:hover {
  background-color: #40a9ff;
}

.save-button:active {
  background-color: #096dd9;
}